using System;
using L=Science.Physics.GeneralPhysics;

namespace Serway.Chapter38
{
	/// <summary>
	/// Example05: Resolution of a Telescope
	/// The Keck telescope at Mauna Kea, Hawaii, has an
	/// effective diameter of 10 m. What is its limiting
	/// angle of resolution for 600 nm light?
	/// </summary>
	public class Example05
	{
		public Example05()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
			L.Optics obj = new L.Optics();
			obj.WaveLength = 600.0E-9;
			obj.DiameterOfAperture = 10.0;
			obj.ResolutionOfCircularAperture();
			result+=Convert.ToString(obj.MinimumAngleOfResolution)+"\r\n";
		}
	}
}
